<template>
  <div>
    <el-table
      :data="tableData"
      border
      style="width: 100%"
      :header-cell-style="{ backgroundColor: '#f2f2f2'}"
    >
      <el-table-column
        prop="activityName"
        label="环节名称"
        width="180"
      />
      <el-table-column
        prop="createTime"
        label="创建时间"
        width="180"
      />
      <el-table-column
        prop="finishTime"
        label="完成时间"
      />
      <el-table-column
        prop="duration"
        label="任务历时"
      />
      <el-table-column
        prop="operator"
        label="操作人"
      />

      <el-table-column
        prop="deal"
        label="流程处理"
      >
        <template slot-scope="scope">
          <dt-dict-tag :options="dict.type.deal" :value="scope.row.deal" />
        </template>
      </el-table-column>
      <el-table-column
        prop="dealContent"
        label="处理内容"
        show-overflow-tooltip
      />
    </el-table>
  </div>
</template>

<script>
export default {
  props: {
    tableData: {
      type: Array,
      default: () => {
        return []
      }
    }
  },
  dicts: ['deal'],
  data() {
    return {

    }
  }

}
</script>
